package soar.template.springboot.service.hello.appconfig;

import javax.annotation.Resource;

import org.springframework.context.annotation.Configuration;

import soar.template.springboot.service.hello.appconfig.alipay.Alipay;
import soar.template.springboot.service.hello.appconfig.mariadb.MariaDB;
import soar.template.springboot.service.hello.appconfig.mongodb.MongoDB;
import soar.template.springboot.service.hello.appconfig.rabbitmq.RabbitMQ;
import soar.template.springboot.service.hello.appconfig.redis.Redis;
import soar.template.springboot.service.hello.appconfig.rmi.Rmi;

@Configuration("appconfig")
public class AppConfig
{
    @Resource(name = "appconfig.rmi")
    public Rmi rmi;

    @Resource(name = "appconfig.mariadb")
    public MariaDB mariadb;

    @Resource(name = "appconfig.mongodb")
    public MongoDB mongodb;

    @Resource(name = "appconfig.redis")
    public Redis redis;

    @Resource(name = "appconfig.rabbitmq")
    public RabbitMQ rabbitmq;

    @Resource(name = "appconfig.alipay")
    public Alipay alipay;

    public Rmi getRmi()
    {
        return rmi;
    }

    public void setRmi(Rmi rmi)
    {
        this.rmi = rmi;
    }

    public MariaDB getMariadb()
    {
        return mariadb;
    }

    public void setMariadb(MariaDB mariadb)
    {
        this.mariadb = mariadb;
    }

    public Redis getRedis()
    {
        return redis;
    }

    public void setRedis(Redis redis)
    {
        this.redis = redis;
    }

    public RabbitMQ getRabbitmq()
    {
        return rabbitmq;
    }

    public void setRabbitmq(RabbitMQ rabbitmq)
    {
        this.rabbitmq = rabbitmq;
    }

    public Alipay getAlipay()
    {
        return alipay;
    }

    public void setAlipay(Alipay alipay)
    {
        this.alipay = alipay;
    }

    public MongoDB getMongodb()
    {
        return mongodb;
    }

    public void setMongodb(MongoDB mongodb)
    {
        this.mongodb = mongodb;
    }

}
